import Home from '../page/home'
import Detail from '../page/detail'
import City from '../page/city'



const routes = [{
  path: '/home',
  component: Home
},{
  path: '/detail',
  component: Detail
},{
  path: '/city',
  component: City
}, {
  from: '/',
  to: '/home'
}]

export default routes